package aom.example.security.domain.vo;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author X.I.O
 * @title: PasswordVo
 * @projectName demo
 * @description: TODO
 * @date 2021/11/4 9:28
 */
@Data
@ApiModel("用户账号信息修改")
public class PasswordVo {

    @ApiModelProperty("用户名")
    @NotBlank(message = "用户名不得为空")
    private String username;

    @ApiModelProperty("密码")
    @NotBlank(message = "密码不得为空")
    private String password;

    @ApiModelProperty("再次输入密码")
    @NotBlank(message = "再次输入密码不得为空")
    private String againpassword;
}
